package com.rxyb.security.gate.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author YJH
 * @version 1.0
 * @description 用户信息
 * @date 2020/7/12 16:45
 */
@Controller
public class UserController {


    @RequestMapping(value = "userList")
    public ModelAndView list(ModelAndView model) {
        model.setViewName("user/list");
        return model;
    }


    @RequestMapping(value = "userAdd")
    public ModelAndView add(ModelAndView model) {
        model.setViewName("user/add");
        return model;
    }
}
